//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.purvar.boot.comm.api.vo;

import javax.validation.Valid;
import java.io.Serializable;

public class RequestParam<T> implements Serializable {
    private static final long serialVersionUID = 1L;
    @Valid
    private T t;

    public T getT() {
        return this.t;
    }

    public void setT(final T t) {
        this.t = t;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof RequestParam)) {
            return false;
        } else {
            RequestParam<?> other = (RequestParam) o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$t = this.getT();
                Object other$t = other.getT();
                if (this$t == null) {
                    if (other$t != null) {
                        return false;
                    }
                } else if (!this$t.equals(other$t)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof RequestParam;
    }


    public String toString() {
        return "RequestParam(t=" + this.getT() + ")";
    }

    public RequestParam() {
    }
}
